package com.hymjweb.demo.hymj.finance_manage.repayment.detail.bean;

import com.hymjweb.demo.framework.util.pojoContrast.FieldMeta;
import lombok.Data;

import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Table(name="cw_repayment_detail")
@Data
public class CwRepaymentDetailPojo implements Serializable {

    /**
     * create table cw_repayment_detail
     * (
     * 	id varchar(20) not null comment '客户还款分单表ID' primary key,
     * 	native_bill_id varchar(20) null comment '分单表ID,关联m_native_bill.id',
     * 	settlement_amount decimal(10,2) null comment '结算金额,代表同时扣除分单表与还款记录上同步扣除的金额',
     * 	repayment_id varchar(20) null comment '客户还款表ID,关联cw_repayment.id',
     * 	comment varchar(2000) null comment '备注',
     * 	create_time datetime null comment '创建时间',
     * 	create_user_id varchar(50) null comment '创建用户ID',
     * 	update_time datetime null comment '更新时间',
     * 	update_user_id varchar(50) null comment '更新用户ID'
     * )
     * comment '客户还款明细表';
     */

    @FieldMeta(columnname = "id", name = "客户还款明细ID", comment = "客户还款明细ID")
    private String id;

    @FieldMeta(columnname = "native_bill_id", name = "分单表ID", comment = "分单表ID,关联m_native_bill.id")
    private String nativeBillId;

    @FieldMeta(columnname = "settlement_amount", name = "结算金额", comment = "结算金额,代表同时扣除分单表与还款记录上同步扣除的金额")
    private Double settlementAmount;

    @FieldMeta(columnname = "repayment_id", name = "客户还款ID", comment = "客户还款ID,关联cw_repayment.id")
    private String repaymentId;

    @FieldMeta(columnname = "comment", name = "备注", comment = "备注")
    private String comment;

    @FieldMeta(columnname = "create_time", name = "创建时间")
    private Date createTime;

    @FieldMeta(columnname = "create_user_id", name = "记录添加人ID", comment = "关联XT_USER.ID")
    private String createUserId;

    @FieldMeta(columnname = "update_time", name = "更新时间")
    private Date updateTime;

    @FieldMeta(columnname = "update_user_id", name = "更新用户ID", comment = "关联XT_USER.ID")
    private String updateUserId;

}
